<cp-navbar (onClickLeft)="onClickLeft()" [title]="item.title"></cp-navbar>
<div class="container">
  <div class="gutter"></div>
  <div class="form-group" *ngIf="item.type == 'Nick'">
    <input type="text" [placeholder]="item.placeholder" [(ngModel)]="formdata.nick" />
  </div>
  <div class="form-group" *ngIf="item.type == 'Sex'">
    <div class="item" (click)="formdata.sex = '男'">
      <div class="iconbox"><i class="icon icon-check" *ngIf="formdata.sex === '男'"></i></div>
      <div class="inner border-bottom">
        <img src="assets/images/Mine/icon_male_checked.png" *ngIf="formdata.sex === '男'" />
        <img src="assets/images/Mine/icon_male_unchecked.png" *ngIf="formdata.sex !== '男'" />
        <span class="txt">男</span>
      </div>
    </div>
    <div class="item" (click)="formdata.sex = '女'">
      <div class="iconbox"><i class="icon icon-check" *ngIf="formdata.sex === '女'"></i></div>
      <div class="inner">
        <img src="assets/images/Mine/icon_female_checked.png" *ngIf="formdata.sex === '女'" />
        <img src="assets/images/Mine/icon_female_unchecked.png" *ngIf="formdata.sex !== '女'" />
        <span class="txt">女</span>
      </div>
    </div>
  </div>
  <div class="oprbar">
    <button class="btn btn-lg btn-block btn-radius btn-gradient btn-shadow" (click)="submit()" [disabled]="disabled">
      确定
    </button>
  </div>
</div>
